package com.zxm.edu.entity;

import com.alipay.api.AlipayApiException;
import com.zxm.edu.service.IPayService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

@Component
public class PayModelImpl implements IPayModel {
    @Autowired
    private IPayService service;

    @Override
    public String aliPay(AlipayBean alipayBean) throws AlipayApiException {
        return service.aliPay(alipayBean);
    }
}